import request from '@/utils/request'

// 分页查询
export function getOrderInfoPageList(data) {
  return request({
    url: '/orderInfo/getOrderInfoPageList',
    method: 'post',
    data
  })
}
// 入库单详情
export function getOrderInfo(data) {
  return request({
    url: '/orderInfo/getOrderInfo',
    method: 'post',
    data
  })
}
// 流转箱扫描
export function getContainerByContainerCode(data) {
  return request({
    url: '/orderInfo/getContainerByContainerCode',
    method: 'post',
    data
  })
}
// 到仓扫描查询
export function getOrderInfoForArrivalScan(data) {
  return request({
    url: '/orderInfo/getOrderInfoForArrivalScan',
    method: 'post',
    data
  })
}
// SKU扫描
export function getOrderSkuBySkuCode(data) {
  return request({
    url: '/orderInfo/getOrderSkuBySkuCode',
    method: 'post',
    data
  })
}
// 到仓扫描
export function updateOrderInfoForArrival(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForArrival',
    method: 'post',
    data
  })
}
// 入库操作
export function updateOrderInfoForReceipt(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForReceipt',
    method: 'post',
    data
  })
}
// 上架操作
export function updateOrderInfoForShelving(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForShelving',
    method: 'post',
    data
  })
}

